import mitt from 'mitt'

type Events = {
  viewChange: void
  deleteObject: (node: object) => void
}

const emiter = mitt<Events>()

export default emiter
